package com.ruoyi.peopleinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 健康信息对象 people_health
 *
 * @author y
 * @date 2022-02-26
 */
public class PeopleHealth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String peopleIdcard;

    /** 姓名 */
    @Excel(name = "姓名")
    private String peopleName;

    /** 性别(0男 1女 2未知) */
    @Excel(name = "性别(0男 1女 2未知)")
    private String peopleSex;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthtime;

    /** 心率(次/分) */
    @Excel(name = "心率(次/分)")
    private String heartJump;

    /** 血压(mmHg) */
    @Excel(name = "血压(mmHg)")
    private String bloodPressure;

    /** 脉搏(次/分) */
    @Excel(name = "脉搏(次/分)")
    private String pulse;

    /** 心脏 */
    @Excel(name = "心脏")
    private String heart;

    /** 肝、脾 */
    @Excel(name = "肝、脾")
    private String liverSpleen;

    /** 肺 */
    @Excel(name = "肺")
    private String lung;

    /** 神经系统 */
    @Excel(name = "神经系统")
    private String nervous;

    /** 其它 */
    @Excel(name = "其它")
    private String other;

    /** 体检日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "体检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPeopleIdcard(String peopleIdcard)
    {
        this.peopleIdcard = peopleIdcard;
    }

    public String getPeopleIdcard()
    {
        return peopleIdcard;
    }
    public void setPeopleName(String peopleName)
    {
        this.peopleName = peopleName;
    }

    public String getPeopleName()
    {
        return peopleName;
    }
    public void setPeopleSex(String peopleSex)
    {
        this.peopleSex = peopleSex;
    }

    public String getPeopleSex()
    {
        return peopleSex;
    }
    public void setBirthtime(Date birthtime)
    {
        this.birthtime = birthtime;
    }

    public Date getBirthtime()
    {
        return birthtime;
    }
    public void setHeartJump(String heartJump)
    {
        this.heartJump = heartJump;
    }

    public String getHeartJump()
    {
        return heartJump;
    }
    public void setBloodPressure(String bloodPressure)
    {
        this.bloodPressure = bloodPressure;
    }

    public String getBloodPressure()
    {
        return bloodPressure;
    }
    public void setPulse(String pulse)
    {
        this.pulse = pulse;
    }

    public String getPulse()
    {
        return pulse;
    }
    public void setHeart(String heart)
    {
        this.heart = heart;
    }

    public String getHeart()
    {
        return heart;
    }
    public void setLiverSpleen(String liverSpleen)
    {
        this.liverSpleen = liverSpleen;
    }

    public String getLiverSpleen()
    {
        return liverSpleen;
    }
    public void setLung(String lung)
    {
        this.lung = lung;
    }

    public String getLung()
    {
        return lung;
    }
    public void setNervous(String nervous)
    {
        this.nervous = nervous;
    }

    public String getNervous()
    {
        return nervous;
    }
    public void setOther(String other)
    {
        this.other = other;
    }

    public String getOther()
    {
        return other;
    }
    public void setDate(Date date)
    {
        this.date = date;
    }

    public Date getDate()
    {
        return date;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("peopleIdcard", getPeopleIdcard())
            .append("peopleName", getPeopleName())
            .append("peopleSex", getPeopleSex())
            .append("birthtime", getBirthtime())
            .append("heartJump", getHeartJump())
            .append("bloodPressure", getBloodPressure())
            .append("pulse", getPulse())
            .append("heart", getHeart())
            .append("liverSpleen", getLiverSpleen())
            .append("lung", getLung())
            .append("nervous", getNervous())
            .append("other", getOther())
            .append("date", getDate())
            .toString();
    }
}
